<template>
	<view class="question" @click="send()">
		<view class="ques">
			<view class="hot">
				<img class="full" src="../../static/svg/hot.svg" alt="">
			</view>
			<view class="label text-overflow2">
				{{label}}
				<hr />
			</view>
		</view>
		<view class="ques">
			<view class="hot">
				<img class="full" src="../../static/svg/hot.svg" alt="">
			</view>
			<view class="label text-overflow2">
				{{label1}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "question",
		data() {
			return {
				
			};
		},
		props:{
			label:String,
			label1:String
		},
		methods:{
			send() {
				this.$emit("send")
			}
		}
	}
</script>

<style lang="scss" scoped>
	.question {
		width: 100%;
		height: 20vh;
		padding: 2vh 3vw;
		border-radius: 2vw;
		background: #fff;
		margin: 2vw 0;
	}
	
	.ques {
		display: flex;
	}

	.hot {
		// top: -1vw;
		width: 16px;
		height: 16px;
		margin-right: 2vw;
	}

	.label{
		// margin-top: 10px;
		font-family: PingFangSC-Semibold;
		font-size: 14px;
		font-weight: 700;
		line-height: 20px;
		letter-spacing: 1px;
		color: #333;
	}
	
	hr {
		margin: 2vh 0;
		opacity: 0.3;
	}
</style>